package cn.glc.daily.life.model.vo.page;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;

/**
 * 分页对象
 *
 * @author simon
 * @date 2021/4/13 12:00
 * @copyright:
 * @modifier
 * @motto a no talent, people who have to study hard
 */
@Data
public class PageVo {

    @ApiModelProperty(value = "请求页,页码")
    @Min(value = 1L)
    private int page = 1;
    @ApiModelProperty(value = "分页大小,默认值50")
    @Min(value = 1L)
    private int size = 50;
}
